
#include <QtCore/QCoreApplication>
#include <QSettings>

int main(int argc, char *argv[])
{
	QCoreApplication a(argc, argv);


	QSettings *set = new QSettings("Config.ini", QSettings::IniFormat);

	set->beginGroup("First");
	set->setValue("Title", "this is title.");
	set->endGroup();

	set->beginGroup("Second");
	set->setValue("Title2", "this is title2.");
	set->endGroup();

	return a.exec();
}
